package net.tv90.bfmccoreqqbot.api.handler;

import net.tv90.bfmccoreqqbot.api.MessageHandler;
import net.tv90.bfmccoreqqbot.api.annotation.MessageCheck;
import net.tv90.bfmccoreqqbot.api.annotation.MessageCheckPolicy;
import net.tv90.bfmccoreqqbot.api.annotation.MessageType;
import net.tv90.bfmccoreqqbot.api.entity.MessageContext;

@MessageType("74M，你好")
@MessageCheck(MessageCheckPolicy.EQUALS)
public class HelloHandler implements MessageHandler {
    @Override
    public String handleMessage(MessageContext msg) {
        return msg.getSenderNickname() + " 你好喵~";
    }
}
